YAYDP\Helper\YAYDP_Helper A

Total Complexity 60
Dependencies 9
Dependents 22
Total lines 411
Lines of code 259
Logical lines of code 144
Comment lines 129
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
check_applicability()
A
43 15 48
get_min_require_quantity()
A
53 8 25
get_matching_pairs()
S
49 6 37
replace_rgb_to_hex()
S
54 5 20
sort_products_by_price()
S
49 4 32
take_back_items()
S
68 3 7
check_nonce()
S
68 3 6
sort_items_by_price()
S
59 2 14
initialize_custom_cart_item()
S
62 2 11
get_remaining_product_stock_include_extra_items()
S
70 2 6
sanitize_array()
S
69 2 7
push_in_items()
S
69 2 7
get_remaining_product_stock()
S
71 1 5
map_cases()
S
67 1 10
map_filter_value()
S
68 1 8
get_verify_rest_nonce_failure_response()
S
68 1 8
str_to_hex()
S
74 1 4
verify_rest_nonce()
S
75 1 4